fix(nextcloud): add explicit group/kind to HTTPRoute backendRefs to prevent Argo CD drift#868
Draft
somaz94 wants to merge 1 commit into
Draft
fix(nextcloud): add explicit group/kind to HTTPRoute backendRefs to prevent Argo CD drift#868somaz94 wants to merge 1 commit into
somaz94 wants to merge 1 commit into
Conversation
…revent Argo CD drift Signed-off-by: somaz <genius5711@gmail.com>
somaz94
added a commit
to somaz94/somaz94
that referenced
this pull request
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the change
The HTTPRoute template rendered
backendRefswith onlyname,port, andweight. The Gateway API defaultsgroup: ""andkind: Serviceserver-side,so the live object always contains two fields the Helm-rendered manifest omits.
Argo CD has no way to know these CRD defaults, so it reports the app
OutOfSyncand re-syncs in a loop.
This renders
group: ""andkind: Serviceexplicitly so the desired manifestmatches the reconciled live state. No behavior change, no new values.
Benefits
ignoreDifferencesrule on.spec.rules[].backendRefsPossible drawbacks
None. The two added fields are the effective API defaults the chart already relied on.
Applicable issues
Additional information
Validated locally against
main:ct lint(the CI gate) passes; chart version bump detected (9.2.0 -> 9.2.1)helm lint --set httpRoute.enabled=truepasseshelm templaterendered with httpRoute disabled (no output), a default rule, and a custom filter+timeouts rule;group/kindpresent in every enabled caseChecklist
Chart.yamlaccording to semver.